package com.hkts.beltweigher.salve.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hml
 * @since 2024-11-18
 */
public class EastBeltscalesMinitue extends Model<EastBeltscalesMinitue> {

private static final long serialVersionUID=1L;

    /**
     * 自增id
     */
                    @TableId(value = "id", type = IdType.AUTO)
                private Long id;
    /**
     * 日期+时间
     */
        private LocalDateTime datetime;
    /**
     * 日期
     */
        private LocalDate date;
    /**
     * 时间
     */
        private LocalTime time;
    /**
     * 毫秒
     */
        private Integer ms;
    /**
     * 东线1号秤瞬时流量,t/h
     */
        private Float instantaneousTraffic1;
    /**
     * 东线2号秤瞬时流量
     */
        private Float instantaneousTraffic2;
    /**
     * 东线3号秤瞬时流量
     */
        private Float instantaneousTraffic3;
    /**
     * 东线4号秤瞬时流量
     */
        private Float instantaneousTraffic4;
    /**
     * 东线5号秤瞬时流量
     */
        private Float instantaneousTraffic5;


    public Long getId(){
            return id;
            }

        public void setId(Long id) {
            this.id = id;
            }

    public LocalDateTime getDatetime(){
            return datetime;
            }

        public void setDatetime(LocalDateTime datetime) {
            this.datetime = datetime;
            }

    public LocalDate getDate(){
            return date;
            }

        public void setDate(LocalDate date) {
            this.date = date;
            }

    public LocalTime getTime(){
            return time;
            }

        public void setTime(LocalTime time) {
            this.time = time;
            }

    public Integer getMs(){
            return ms;
            }

        public void setMs(Integer ms) {
            this.ms = ms;
            }

    public Float getInstantaneousTraffic1(){
            return instantaneousTraffic1;
            }

        public void setInstantaneousTraffic1(Float instantaneousTraffic1) {
            this.instantaneousTraffic1 = instantaneousTraffic1;
            }

    public Float getInstantaneousTraffic2(){
            return instantaneousTraffic2;
            }

        public void setInstantaneousTraffic2(Float instantaneousTraffic2) {
            this.instantaneousTraffic2 = instantaneousTraffic2;
            }

    public Float getInstantaneousTraffic3(){
            return instantaneousTraffic3;
            }

        public void setInstantaneousTraffic3(Float instantaneousTraffic3) {
            this.instantaneousTraffic3 = instantaneousTraffic3;
            }

    public Float getInstantaneousTraffic4(){
            return instantaneousTraffic4;
            }

        public void setInstantaneousTraffic4(Float instantaneousTraffic4) {
            this.instantaneousTraffic4 = instantaneousTraffic4;
            }

    public Float getInstantaneousTraffic5(){
            return instantaneousTraffic5;
            }

        public void setInstantaneousTraffic5(Float instantaneousTraffic5) {
            this.instantaneousTraffic5 = instantaneousTraffic5;
            }

    public static final String ID ="id";

    public static final String DATETIME ="datetime";

    public static final String DATE ="date";

    public static final String TIME ="time";

    public static final String MS ="ms";

    public static final String INSTANTANEOUS_TRAFFIC1 ="instantaneous_traffic1";

    public static final String INSTANTANEOUS_TRAFFIC2 ="instantaneous_traffic2";

    public static final String INSTANTANEOUS_TRAFFIC3 ="instantaneous_traffic3";

    public static final String INSTANTANEOUS_TRAFFIC4 ="instantaneous_traffic4";

    public static final String INSTANTANEOUS_TRAFFIC5 ="instantaneous_traffic5";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "EastBeltscalesMinitue{" +
                ", id=" + id +
                ", datetime=" + datetime +
                ", date=" + date +
                ", time=" + time +
                ", ms=" + ms +
                ", instantaneousTraffic1=" + instantaneousTraffic1 +
                ", instantaneousTraffic2=" + instantaneousTraffic2 +
                ", instantaneousTraffic3=" + instantaneousTraffic3 +
                ", instantaneousTraffic4=" + instantaneousTraffic4 +
                ", instantaneousTraffic5=" + instantaneousTraffic5 +
        "}";
        }
        }
